<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">GHC.Platform.Regs</span><span>
</span><span id="line-2"></span><span>       </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Platform.Regs.html#callerSaves"><span class="hs-identifier">callerSaves</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Platform.Regs.html#activeStgRegs"><span class="hs-identifier">activeStgRegs</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Platform.Regs.html#haveRegBase"><span class="hs-identifier">haveRegBase</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Platform.Regs.html#globalRegMaybe"><span class="hs-identifier">globalRegMaybe</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Platform.Regs.html#freeReg"><span class="hs-identifier">freeReg</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-3"></span><span>       </span><span class="hs-keyword">where</span><span>
</span><span id="line-4"></span><span>
</span><span id="line-5"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Prelude.html"><span class="hs-identifier">GHC.Prelude</span></a></span><span>
</span><span id="line-6"></span><span>
</span><span id="line-7"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Cmm.Expr.html"><span class="hs-identifier">GHC.Cmm.Expr</span></a></span><span>
</span><span id="line-8"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../ghc-boot/src/GHC.Platform.html#"><span class="hs-identifier">GHC.Platform</span></a></span><span>
</span><span id="line-9"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Platform.Reg.html"><span class="hs-identifier">GHC.Platform.Reg</span></a></span><span>
</span><span id="line-10"></span><span>
</span><span id="line-11"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="GHC.Platform.ARM.html"><span class="hs-identifier">GHC.Platform.ARM</span></a></span><span>        </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">ARM</span></span><span>
</span><span id="line-12"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="GHC.Platform.AArch64.html"><span class="hs-identifier">GHC.Platform.AArch64</span></a></span><span>    </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">AArch64</span></span><span>
</span><span id="line-13"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="GHC.Platform.PPC.html"><span class="hs-identifier">GHC.Platform.PPC</span></a></span><span>        </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">PPC</span></span><span>
</span><span id="line-14"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="GHC.Platform.S390X.html"><span class="hs-identifier">GHC.Platform.S390X</span></a></span><span>      </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">S390X</span></span><span>
</span><span id="line-15"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="GHC.Platform.SPARC.html"><span class="hs-identifier">GHC.Platform.SPARC</span></a></span><span>      </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">SPARC</span></span><span>
</span><span id="line-16"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="GHC.Platform.X86.html"><span class="hs-identifier">GHC.Platform.X86</span></a></span><span>        </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">X86</span></span><span>
</span><span id="line-17"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="GHC.Platform.X86_64.html"><span class="hs-identifier">GHC.Platform.X86_64</span></a></span><span>     </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">X86_64</span></span><span>
</span><span id="line-18"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="GHC.Platform.NoRegs.html"><span class="hs-identifier">GHC.Platform.NoRegs</span></a></span><span>     </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">NoRegs</span></span><span>
</span><span id="line-19"></span><span>
</span><span id="line-20"></span><span class="hs-comment">-- | Returns 'True' if this global register is stored in a caller-saves</span><span>
</span><span id="line-21"></span><span class="hs-comment">-- machine register.</span><span>
</span><span id="line-22"></span><span>
</span><span id="line-23"></span><span class="annot"><a href="GHC.Platform.Regs.html#callerSaves"><span class="hs-identifier hs-type">callerSaves</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghc-boot/src/GHC.Platform.html#Platform"><span class="hs-identifier hs-type">Platform</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Cmm.Expr.html#GlobalReg"><span class="hs-identifier hs-type">GlobalReg</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span>
</span><span id="line-24"></span><span id="callerSaves"><span class="annot"><span class="annottext">callerSaves :: Platform -&gt; GlobalReg -&gt; Bool
</span><a href="GHC.Platform.Regs.html#callerSaves"><span class="hs-identifier hs-var hs-var">callerSaves</span></a></span></span><span> </span><span id="local-6989586621680935754"><span class="annot"><span class="annottext">Platform
</span><a href="#local-6989586621680935754"><span class="hs-identifier hs-var">platform</span></a></span></span><span>
</span><span id="line-25"></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Platform -&gt; Bool
</span><a href="../../ghc-boot/src/GHC.Platform.html#platformUnregisterised"><span class="hs-identifier hs-var hs-var">platformUnregisterised</span></a></span><span> </span><span class="annot"><span class="annottext">Platform
</span><a href="#local-6989586621680935754"><span class="hs-identifier hs-var">platform</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Bool
</span><a href="GHC.Platform.NoRegs.html#callerSaves"><span class="hs-identifier hs-var">NoRegs.callerSaves</span></a></span><span>
</span><span id="line-26"></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../base/src/GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>
</span><span id="line-27"></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">Platform -&gt; Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#platformArch"><span class="hs-identifier hs-var">platformArch</span></a></span><span> </span><span class="annot"><span class="annottext">Platform
</span><a href="#local-6989586621680935754"><span class="hs-identifier hs-var">platform</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-28"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchX86"><span class="hs-identifier hs-var">ArchX86</span></a></span><span>     </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Bool
</span><a href="GHC.Platform.X86.html#callerSaves"><span class="hs-identifier hs-var">X86.callerSaves</span></a></span><span>
</span><span id="line-29"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchX86_64"><span class="hs-identifier hs-var">ArchX86_64</span></a></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Bool
</span><a href="GHC.Platform.X86_64.html#callerSaves"><span class="hs-identifier hs-var">X86_64.callerSaves</span></a></span><span>
</span><span id="line-30"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchS390X"><span class="hs-identifier hs-var">ArchS390X</span></a></span><span>   </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Bool
</span><a href="GHC.Platform.S390X.html#callerSaves"><span class="hs-identifier hs-var">S390X.callerSaves</span></a></span><span>
</span><span id="line-31"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchSPARC"><span class="hs-identifier hs-var">ArchSPARC</span></a></span><span>   </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Bool
</span><a href="GHC.Platform.SPARC.html#callerSaves"><span class="hs-identifier hs-var">SPARC.callerSaves</span></a></span><span>
</span><span id="line-32"></span><span>   </span><span class="annot"><a href="../../ghc-boot/src/GHC.Platform.html#ArchARM"><span class="hs-identifier hs-type">ArchARM</span></a></span><span> </span><span class="hs-special">{</span><span class="hs-special">}</span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Bool
</span><a href="GHC.Platform.ARM.html#callerSaves"><span class="hs-identifier hs-var">ARM.callerSaves</span></a></span><span>
</span><span id="line-33"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchAArch64"><span class="hs-identifier hs-var">ArchAArch64</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Bool
</span><a href="GHC.Platform.AArch64.html#callerSaves"><span class="hs-identifier hs-var">AArch64.callerSaves</span></a></span><span>
</span><span id="line-34"></span><span>   </span><span id="local-6989586621680935738"><span class="annot"><span class="annottext">Arch
</span><a href="#local-6989586621680935738"><span class="hs-identifier hs-var">arch</span></a></span></span><span>
</span><span id="line-35"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Arch
</span><a href="#local-6989586621680935738"><span class="hs-identifier hs-var">arch</span></a></span><span> </span><span class="annot"><span class="annottext">Arch -&gt; [Arch] -&gt; Bool
forall (t :: * -&gt; *) a. (Foldable t, Eq a) =&gt; a -&gt; t a -&gt; Bool
</span><a href="../../base/src/Data.Foldable.html#elem"><span class="hs-operator hs-var">`elem`</span></a></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchPPC"><span class="hs-identifier hs-var">ArchPPC</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">PPC_64ABI -&gt; Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchPPC_64"><span class="hs-identifier hs-var">ArchPPC_64</span></a></span><span> </span><span class="annot"><span class="annottext">PPC_64ABI
</span><a href="../../ghc-boot/src/GHC.Platform.html#ELF_V1"><span class="hs-identifier hs-var">ELF_V1</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">PPC_64ABI -&gt; Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchPPC_64"><span class="hs-identifier hs-var">ArchPPC_64</span></a></span><span> </span><span class="annot"><span class="annottext">PPC_64ABI
</span><a href="../../ghc-boot/src/GHC.Platform.html#ELF_V2"><span class="hs-identifier hs-var">ELF_V2</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-36"></span><span>        </span><span class="annot"><span class="annottext">GlobalReg -&gt; Bool
</span><a href="GHC.Platform.PPC.html#callerSaves"><span class="hs-identifier hs-var">PPC.callerSaves</span></a></span><span>
</span><span id="line-37"></span><span>
</span><span id="line-38"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../base/src/GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Bool
</span><a href="GHC.Platform.NoRegs.html#callerSaves"><span class="hs-identifier hs-var">NoRegs.callerSaves</span></a></span><span>
</span><span id="line-39"></span><span>
</span><span id="line-40"></span><span class="hs-comment">-- | Here is where the STG register map is defined for each target arch.</span><span>
</span><span id="line-41"></span><span class="hs-comment">-- The order matters (for the llvm backend anyway)! We must make sure to</span><span>
</span><span id="line-42"></span><span class="hs-comment">-- maintain the order here with the order used in the LLVM calling conventions.</span><span>
</span><span id="line-43"></span><span class="hs-comment">-- Note that also, this isn't all registers, just the ones that are currently</span><span>
</span><span id="line-44"></span><span class="hs-comment">-- possibly mapped to real registers.</span><span>
</span><span id="line-45"></span><span class="annot"><a href="GHC.Platform.Regs.html#activeStgRegs"><span class="hs-identifier hs-type">activeStgRegs</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghc-boot/src/GHC.Platform.html#Platform"><span class="hs-identifier hs-type">Platform</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="GHC.Cmm.Expr.html#GlobalReg"><span class="hs-identifier hs-type">GlobalReg</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-46"></span><span id="activeStgRegs"><span class="annot"><span class="annottext">activeStgRegs :: Platform -&gt; [GlobalReg]
</span><a href="GHC.Platform.Regs.html#activeStgRegs"><span class="hs-identifier hs-var hs-var">activeStgRegs</span></a></span></span><span> </span><span id="local-6989586621680935731"><span class="annot"><span class="annottext">Platform
</span><a href="#local-6989586621680935731"><span class="hs-identifier hs-var">platform</span></a></span></span><span>
</span><span id="line-47"></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Platform -&gt; Bool
</span><a href="../../ghc-boot/src/GHC.Platform.html#platformUnregisterised"><span class="hs-identifier hs-var hs-var">platformUnregisterised</span></a></span><span> </span><span class="annot"><span class="annottext">Platform
</span><a href="#local-6989586621680935731"><span class="hs-identifier hs-var">platform</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">[GlobalReg]
</span><a href="GHC.Platform.NoRegs.html#activeStgRegs"><span class="hs-identifier hs-var">NoRegs.activeStgRegs</span></a></span><span>
</span><span id="line-48"></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../base/src/GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>
</span><span id="line-49"></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">Platform -&gt; Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#platformArch"><span class="hs-identifier hs-var">platformArch</span></a></span><span> </span><span class="annot"><span class="annottext">Platform
</span><a href="#local-6989586621680935731"><span class="hs-identifier hs-var">platform</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-50"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchX86"><span class="hs-identifier hs-var">ArchX86</span></a></span><span>     </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">[GlobalReg]
</span><a href="GHC.Platform.X86.html#activeStgRegs"><span class="hs-identifier hs-var">X86.activeStgRegs</span></a></span><span>
</span><span id="line-51"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchX86_64"><span class="hs-identifier hs-var">ArchX86_64</span></a></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">[GlobalReg]
</span><a href="GHC.Platform.X86_64.html#activeStgRegs"><span class="hs-identifier hs-var">X86_64.activeStgRegs</span></a></span><span>
</span><span id="line-52"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchS390X"><span class="hs-identifier hs-var">ArchS390X</span></a></span><span>   </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">[GlobalReg]
</span><a href="GHC.Platform.S390X.html#activeStgRegs"><span class="hs-identifier hs-var">S390X.activeStgRegs</span></a></span><span>
</span><span id="line-53"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchSPARC"><span class="hs-identifier hs-var">ArchSPARC</span></a></span><span>   </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">[GlobalReg]
</span><a href="GHC.Platform.SPARC.html#activeStgRegs"><span class="hs-identifier hs-var">SPARC.activeStgRegs</span></a></span><span>
</span><span id="line-54"></span><span>   </span><span class="annot"><a href="../../ghc-boot/src/GHC.Platform.html#ArchARM"><span class="hs-identifier hs-type">ArchARM</span></a></span><span> </span><span class="hs-special">{</span><span class="hs-special">}</span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">[GlobalReg]
</span><a href="GHC.Platform.ARM.html#activeStgRegs"><span class="hs-identifier hs-var">ARM.activeStgRegs</span></a></span><span>
</span><span id="line-55"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchAArch64"><span class="hs-identifier hs-var">ArchAArch64</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">[GlobalReg]
</span><a href="GHC.Platform.AArch64.html#activeStgRegs"><span class="hs-identifier hs-var">AArch64.activeStgRegs</span></a></span><span>
</span><span id="line-56"></span><span>   </span><span id="local-6989586621680935723"><span class="annot"><span class="annottext">Arch
</span><a href="#local-6989586621680935723"><span class="hs-identifier hs-var">arch</span></a></span></span><span>
</span><span id="line-57"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Arch
</span><a href="#local-6989586621680935723"><span class="hs-identifier hs-var">arch</span></a></span><span> </span><span class="annot"><span class="annottext">Arch -&gt; [Arch] -&gt; Bool
forall (t :: * -&gt; *) a. (Foldable t, Eq a) =&gt; a -&gt; t a -&gt; Bool
</span><a href="../../base/src/Data.Foldable.html#elem"><span class="hs-operator hs-var">`elem`</span></a></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchPPC"><span class="hs-identifier hs-var">ArchPPC</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">PPC_64ABI -&gt; Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchPPC_64"><span class="hs-identifier hs-var">ArchPPC_64</span></a></span><span> </span><span class="annot"><span class="annottext">PPC_64ABI
</span><a href="../../ghc-boot/src/GHC.Platform.html#ELF_V1"><span class="hs-identifier hs-var">ELF_V1</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">PPC_64ABI -&gt; Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchPPC_64"><span class="hs-identifier hs-var">ArchPPC_64</span></a></span><span> </span><span class="annot"><span class="annottext">PPC_64ABI
</span><a href="../../ghc-boot/src/GHC.Platform.html#ELF_V2"><span class="hs-identifier hs-var">ELF_V2</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-58"></span><span>        </span><span class="annot"><span class="annottext">[GlobalReg]
</span><a href="GHC.Platform.PPC.html#activeStgRegs"><span class="hs-identifier hs-var">PPC.activeStgRegs</span></a></span><span>
</span><span id="line-59"></span><span>
</span><span id="line-60"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../base/src/GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">[GlobalReg]
</span><a href="GHC.Platform.NoRegs.html#activeStgRegs"><span class="hs-identifier hs-var">NoRegs.activeStgRegs</span></a></span><span>
</span><span id="line-61"></span><span>
</span><span id="line-62"></span><span class="annot"><a href="GHC.Platform.Regs.html#haveRegBase"><span class="hs-identifier hs-type">haveRegBase</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghc-boot/src/GHC.Platform.html#Platform"><span class="hs-identifier hs-type">Platform</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span>
</span><span id="line-63"></span><span id="haveRegBase"><span class="annot"><span class="annottext">haveRegBase :: Platform -&gt; Bool
</span><a href="GHC.Platform.Regs.html#haveRegBase"><span class="hs-identifier hs-var hs-var">haveRegBase</span></a></span></span><span> </span><span id="local-6989586621680935721"><span class="annot"><span class="annottext">Platform
</span><a href="#local-6989586621680935721"><span class="hs-identifier hs-var">platform</span></a></span></span><span>
</span><span id="line-64"></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Platform -&gt; Bool
</span><a href="../../ghc-boot/src/GHC.Platform.html#platformUnregisterised"><span class="hs-identifier hs-var hs-var">platformUnregisterised</span></a></span><span> </span><span class="annot"><span class="annottext">Platform
</span><a href="#local-6989586621680935721"><span class="hs-identifier hs-var">platform</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Platform.NoRegs.html#haveRegBase"><span class="hs-identifier hs-var">NoRegs.haveRegBase</span></a></span><span>
</span><span id="line-65"></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../base/src/GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>
</span><span id="line-66"></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">Platform -&gt; Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#platformArch"><span class="hs-identifier hs-var">platformArch</span></a></span><span> </span><span class="annot"><span class="annottext">Platform
</span><a href="#local-6989586621680935721"><span class="hs-identifier hs-var">platform</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-67"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchX86"><span class="hs-identifier hs-var">ArchX86</span></a></span><span>     </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Platform.X86.html#haveRegBase"><span class="hs-identifier hs-var">X86.haveRegBase</span></a></span><span>
</span><span id="line-68"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchX86_64"><span class="hs-identifier hs-var">ArchX86_64</span></a></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Platform.X86_64.html#haveRegBase"><span class="hs-identifier hs-var">X86_64.haveRegBase</span></a></span><span>
</span><span id="line-69"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchS390X"><span class="hs-identifier hs-var">ArchS390X</span></a></span><span>   </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Platform.S390X.html#haveRegBase"><span class="hs-identifier hs-var">S390X.haveRegBase</span></a></span><span>
</span><span id="line-70"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchSPARC"><span class="hs-identifier hs-var">ArchSPARC</span></a></span><span>   </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Platform.SPARC.html#haveRegBase"><span class="hs-identifier hs-var">SPARC.haveRegBase</span></a></span><span>
</span><span id="line-71"></span><span>   </span><span class="annot"><a href="../../ghc-boot/src/GHC.Platform.html#ArchARM"><span class="hs-identifier hs-type">ArchARM</span></a></span><span> </span><span class="hs-special">{</span><span class="hs-special">}</span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Platform.ARM.html#haveRegBase"><span class="hs-identifier hs-var">ARM.haveRegBase</span></a></span><span>
</span><span id="line-72"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchAArch64"><span class="hs-identifier hs-var">ArchAArch64</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Platform.AArch64.html#haveRegBase"><span class="hs-identifier hs-var">AArch64.haveRegBase</span></a></span><span>
</span><span id="line-73"></span><span>   </span><span id="local-6989586621680935713"><span class="annot"><span class="annottext">Arch
</span><a href="#local-6989586621680935713"><span class="hs-identifier hs-var">arch</span></a></span></span><span>
</span><span id="line-74"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Arch
</span><a href="#local-6989586621680935713"><span class="hs-identifier hs-var">arch</span></a></span><span> </span><span class="annot"><span class="annottext">Arch -&gt; [Arch] -&gt; Bool
forall (t :: * -&gt; *) a. (Foldable t, Eq a) =&gt; a -&gt; t a -&gt; Bool
</span><a href="../../base/src/Data.Foldable.html#elem"><span class="hs-operator hs-var">`elem`</span></a></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchPPC"><span class="hs-identifier hs-var">ArchPPC</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">PPC_64ABI -&gt; Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchPPC_64"><span class="hs-identifier hs-var">ArchPPC_64</span></a></span><span> </span><span class="annot"><span class="annottext">PPC_64ABI
</span><a href="../../ghc-boot/src/GHC.Platform.html#ELF_V1"><span class="hs-identifier hs-var">ELF_V1</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">PPC_64ABI -&gt; Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchPPC_64"><span class="hs-identifier hs-var">ArchPPC_64</span></a></span><span> </span><span class="annot"><span class="annottext">PPC_64ABI
</span><a href="../../ghc-boot/src/GHC.Platform.html#ELF_V2"><span class="hs-identifier hs-var">ELF_V2</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-75"></span><span>        </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Platform.PPC.html#haveRegBase"><span class="hs-identifier hs-var">PPC.haveRegBase</span></a></span><span>
</span><span id="line-76"></span><span>
</span><span id="line-77"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../base/src/GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="GHC.Platform.NoRegs.html#haveRegBase"><span class="hs-identifier hs-var">NoRegs.haveRegBase</span></a></span><span>
</span><span id="line-78"></span><span>
</span><span id="line-79"></span><span class="annot"><a href="GHC.Platform.Regs.html#globalRegMaybe"><span class="hs-identifier hs-type">globalRegMaybe</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghc-boot/src/GHC.Platform.html#Platform"><span class="hs-identifier hs-type">Platform</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Cmm.Expr.html#GlobalReg"><span class="hs-identifier hs-type">GlobalReg</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../base/src/GHC.Maybe.html#Maybe"><span class="hs-identifier hs-type">Maybe</span></a></span><span> </span><span class="annot"><a href="GHC.Platform.Reg.html#RealReg"><span class="hs-identifier hs-type">RealReg</span></a></span><span>
</span><span id="line-80"></span><span id="globalRegMaybe"><span class="annot"><span class="annottext">globalRegMaybe :: Platform -&gt; GlobalReg -&gt; Maybe RealReg
</span><a href="GHC.Platform.Regs.html#globalRegMaybe"><span class="hs-identifier hs-var hs-var">globalRegMaybe</span></a></span></span><span> </span><span id="local-6989586621680935711"><span class="annot"><span class="annottext">Platform
</span><a href="#local-6989586621680935711"><span class="hs-identifier hs-var">platform</span></a></span></span><span>
</span><span id="line-81"></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Platform -&gt; Bool
</span><a href="../../ghc-boot/src/GHC.Platform.html#platformUnregisterised"><span class="hs-identifier hs-var hs-var">platformUnregisterised</span></a></span><span> </span><span class="annot"><span class="annottext">Platform
</span><a href="#local-6989586621680935711"><span class="hs-identifier hs-var">platform</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Maybe RealReg
</span><a href="GHC.Platform.NoRegs.html#globalRegMaybe"><span class="hs-identifier hs-var">NoRegs.globalRegMaybe</span></a></span><span>
</span><span id="line-82"></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../base/src/GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>
</span><span id="line-83"></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">Platform -&gt; Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#platformArch"><span class="hs-identifier hs-var">platformArch</span></a></span><span> </span><span class="annot"><span class="annottext">Platform
</span><a href="#local-6989586621680935711"><span class="hs-identifier hs-var">platform</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-84"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchX86"><span class="hs-identifier hs-var">ArchX86</span></a></span><span>     </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Maybe RealReg
</span><a href="GHC.Platform.X86.html#globalRegMaybe"><span class="hs-identifier hs-var">X86.globalRegMaybe</span></a></span><span>
</span><span id="line-85"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchX86_64"><span class="hs-identifier hs-var">ArchX86_64</span></a></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Maybe RealReg
</span><a href="GHC.Platform.X86_64.html#globalRegMaybe"><span class="hs-identifier hs-var">X86_64.globalRegMaybe</span></a></span><span>
</span><span id="line-86"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchS390X"><span class="hs-identifier hs-var">ArchS390X</span></a></span><span>   </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Maybe RealReg
</span><a href="GHC.Platform.S390X.html#globalRegMaybe"><span class="hs-identifier hs-var">S390X.globalRegMaybe</span></a></span><span>
</span><span id="line-87"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchSPARC"><span class="hs-identifier hs-var">ArchSPARC</span></a></span><span>   </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Maybe RealReg
</span><a href="GHC.Platform.SPARC.html#globalRegMaybe"><span class="hs-identifier hs-var">SPARC.globalRegMaybe</span></a></span><span>
</span><span id="line-88"></span><span>   </span><span class="annot"><a href="../../ghc-boot/src/GHC.Platform.html#ArchARM"><span class="hs-identifier hs-type">ArchARM</span></a></span><span> </span><span class="hs-special">{</span><span class="hs-special">}</span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Maybe RealReg
</span><a href="GHC.Platform.ARM.html#globalRegMaybe"><span class="hs-identifier hs-var">ARM.globalRegMaybe</span></a></span><span>
</span><span id="line-89"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchAArch64"><span class="hs-identifier hs-var">ArchAArch64</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Maybe RealReg
</span><a href="GHC.Platform.AArch64.html#globalRegMaybe"><span class="hs-identifier hs-var">AArch64.globalRegMaybe</span></a></span><span>
</span><span id="line-90"></span><span>   </span><span id="local-6989586621680935703"><span class="annot"><span class="annottext">Arch
</span><a href="#local-6989586621680935703"><span class="hs-identifier hs-var">arch</span></a></span></span><span>
</span><span id="line-91"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Arch
</span><a href="#local-6989586621680935703"><span class="hs-identifier hs-var">arch</span></a></span><span> </span><span class="annot"><span class="annottext">Arch -&gt; [Arch] -&gt; Bool
forall (t :: * -&gt; *) a. (Foldable t, Eq a) =&gt; a -&gt; t a -&gt; Bool
</span><a href="../../base/src/Data.Foldable.html#elem"><span class="hs-operator hs-var">`elem`</span></a></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchPPC"><span class="hs-identifier hs-var">ArchPPC</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">PPC_64ABI -&gt; Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchPPC_64"><span class="hs-identifier hs-var">ArchPPC_64</span></a></span><span> </span><span class="annot"><span class="annottext">PPC_64ABI
</span><a href="../../ghc-boot/src/GHC.Platform.html#ELF_V1"><span class="hs-identifier hs-var">ELF_V1</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">PPC_64ABI -&gt; Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchPPC_64"><span class="hs-identifier hs-var">ArchPPC_64</span></a></span><span> </span><span class="annot"><span class="annottext">PPC_64ABI
</span><a href="../../ghc-boot/src/GHC.Platform.html#ELF_V2"><span class="hs-identifier hs-var">ELF_V2</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-92"></span><span>        </span><span class="annot"><span class="annottext">GlobalReg -&gt; Maybe RealReg
</span><a href="GHC.Platform.PPC.html#globalRegMaybe"><span class="hs-identifier hs-var">PPC.globalRegMaybe</span></a></span><span>
</span><span id="line-93"></span><span>
</span><span id="line-94"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../base/src/GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">GlobalReg -&gt; Maybe RealReg
</span><a href="GHC.Platform.NoRegs.html#globalRegMaybe"><span class="hs-identifier hs-var">NoRegs.globalRegMaybe</span></a></span><span>
</span><span id="line-95"></span><span>
</span><span id="line-96"></span><span class="annot"><a href="GHC.Platform.Regs.html#freeReg"><span class="hs-identifier hs-type">freeReg</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghc-boot/src/GHC.Platform.html#Platform"><span class="hs-identifier hs-type">Platform</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Platform.Reg.html#RegNo"><span class="hs-identifier hs-type">RegNo</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span>
</span><span id="line-97"></span><span id="freeReg"><span class="annot"><span class="annottext">freeReg :: Platform -&gt; RegNo -&gt; Bool
</span><a href="GHC.Platform.Regs.html#freeReg"><span class="hs-identifier hs-var hs-var">freeReg</span></a></span></span><span> </span><span id="local-6989586621680935701"><span class="annot"><span class="annottext">Platform
</span><a href="#local-6989586621680935701"><span class="hs-identifier hs-var">platform</span></a></span></span><span>
</span><span id="line-98"></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Platform -&gt; Bool
</span><a href="../../ghc-boot/src/GHC.Platform.html#platformUnregisterised"><span class="hs-identifier hs-var hs-var">platformUnregisterised</span></a></span><span> </span><span class="annot"><span class="annottext">Platform
</span><a href="#local-6989586621680935701"><span class="hs-identifier hs-var">platform</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">RegNo -&gt; Bool
</span><a href="GHC.Platform.NoRegs.html#freeReg"><span class="hs-identifier hs-var">NoRegs.freeReg</span></a></span><span>
</span><span id="line-99"></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../base/src/GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span>
</span><span id="line-100"></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">Platform -&gt; Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#platformArch"><span class="hs-identifier hs-var">platformArch</span></a></span><span> </span><span class="annot"><span class="annottext">Platform
</span><a href="#local-6989586621680935701"><span class="hs-identifier hs-var">platform</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-101"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchX86"><span class="hs-identifier hs-var">ArchX86</span></a></span><span>     </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">RegNo -&gt; Bool
</span><a href="GHC.Platform.X86.html#freeReg"><span class="hs-identifier hs-var">X86.freeReg</span></a></span><span>
</span><span id="line-102"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchX86_64"><span class="hs-identifier hs-var">ArchX86_64</span></a></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">RegNo -&gt; Bool
</span><a href="GHC.Platform.X86_64.html#freeReg"><span class="hs-identifier hs-var">X86_64.freeReg</span></a></span><span>
</span><span id="line-103"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchS390X"><span class="hs-identifier hs-var">ArchS390X</span></a></span><span>   </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">RegNo -&gt; Bool
</span><a href="GHC.Platform.S390X.html#freeReg"><span class="hs-identifier hs-var">S390X.freeReg</span></a></span><span>
</span><span id="line-104"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchSPARC"><span class="hs-identifier hs-var">ArchSPARC</span></a></span><span>   </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">RegNo -&gt; Bool
</span><a href="GHC.Platform.SPARC.html#freeReg"><span class="hs-identifier hs-var">SPARC.freeReg</span></a></span><span>
</span><span id="line-105"></span><span>   </span><span class="annot"><a href="../../ghc-boot/src/GHC.Platform.html#ArchARM"><span class="hs-identifier hs-type">ArchARM</span></a></span><span> </span><span class="hs-special">{</span><span class="hs-special">}</span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">RegNo -&gt; Bool
</span><a href="GHC.Platform.ARM.html#freeReg"><span class="hs-identifier hs-var">ARM.freeReg</span></a></span><span>
</span><span id="line-106"></span><span>   </span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchAArch64"><span class="hs-identifier hs-var">ArchAArch64</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">RegNo -&gt; Bool
</span><a href="GHC.Platform.AArch64.html#freeReg"><span class="hs-identifier hs-var">AArch64.freeReg</span></a></span><span>
</span><span id="line-107"></span><span>   </span><span id="local-6989586621680935693"><span class="annot"><span class="annottext">Arch
</span><a href="#local-6989586621680935693"><span class="hs-identifier hs-var">arch</span></a></span></span><span>
</span><span id="line-108"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Arch
</span><a href="#local-6989586621680935693"><span class="hs-identifier hs-var">arch</span></a></span><span> </span><span class="annot"><span class="annottext">Arch -&gt; [Arch] -&gt; Bool
forall (t :: * -&gt; *) a. (Foldable t, Eq a) =&gt; a -&gt; t a -&gt; Bool
</span><a href="../../base/src/Data.Foldable.html#elem"><span class="hs-operator hs-var">`elem`</span></a></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchPPC"><span class="hs-identifier hs-var">ArchPPC</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">PPC_64ABI -&gt; Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchPPC_64"><span class="hs-identifier hs-var">ArchPPC_64</span></a></span><span> </span><span class="annot"><span class="annottext">PPC_64ABI
</span><a href="../../ghc-boot/src/GHC.Platform.html#ELF_V1"><span class="hs-identifier hs-var">ELF_V1</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">PPC_64ABI -&gt; Arch
</span><a href="../../ghc-boot/src/GHC.Platform.html#ArchPPC_64"><span class="hs-identifier hs-var">ArchPPC_64</span></a></span><span> </span><span class="annot"><span class="annottext">PPC_64ABI
</span><a href="../../ghc-boot/src/GHC.Platform.html#ELF_V2"><span class="hs-identifier hs-var">ELF_V2</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-109"></span><span>        </span><span class="annot"><span class="annottext">RegNo -&gt; Bool
</span><a href="GHC.Platform.PPC.html#freeReg"><span class="hs-identifier hs-var">PPC.freeReg</span></a></span><span>
</span><span id="line-110"></span><span>
</span><span id="line-111"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../base/src/GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">RegNo -&gt; Bool
</span><a href="GHC.Platform.NoRegs.html#freeReg"><span class="hs-identifier hs-var">NoRegs.freeReg</span></a></span><span>
</span><span id="line-112"></span></pre></body></html>